package com.defangit.production.bll;

import com.defangit.production.domain.TransferEntry;
import laogen.util.entities.Finder;

public interface TransferEntryBll extends CommonBusinessLogic<TransferEntry>{
    TransferEntry addTransferEntry(TransferEntry transferEntry,Integer applicantId,Integer receiverId,Integer origin,Integer target);
    TransferEntry updateTransEntry(Integer transferId,Integer receiverId);
    TransferEntry addTransEntry(Integer materialId,Integer operatorId);
    TransferEntryFinder findAll();
    interface TransferEntryFinder extends Finder<TransferEntry> {
        TransferEntryFinder transfetId(Integer id);
        TransferEntryFinder accept(Boolean accept);
        TransferEntryFinder applicantId(Integer id);
        TransferEntryFinder receiverId(Integer id);
        TransferEntryFinder storeId(Integer id);
    }
}
